import logging

from celery_tasks.main import celery_app
from libs.yuntongxun.sms import CCP

@celery_app.task()
def send_sms_code(sms_codes,code):
    CCP().send_template_sms(sms_codes, [code, 5], 1)